<template>
    <view class="main">
        <header-vue title="提交成功" bgColor="transparent" :back="true" backUrl="/pages/main?url=3"></header-vue>
        <view class="success-img">
            <u-image :src="IMAGE_URL + '/static/order/success_icon.png'" mode="aspectFill" width="200rpx" height="200rpx"></u-image>
            <text class="success-txt">提交成功</text>
            <text class="nxz-num">待平台审核</text>
        </view>
        <view class="btn-con">
            <view class="comeback-btn btn-item" @click="goUrl('/pages/main?url=3')">返回</view>
            <view class="look-order-btn btn-item"  @click="goUrl('/views/mine/mypublish')">查看信息</view>
        </view>
    </view>
</template>
<script>
import headerVue from '@/components/header'
import appConfig from '@/config/app.js'
export default {
    components: {
        headerVue
    },
    data() {
        return {
            nx_num: 0,
            IMAGE_URL: appConfig.IMAGE_URL,
        }
    },
    methods: {
        goUrl(url) {
            uni.redirectTo({ url: url });
        },
    }
}

</script>
<style lang="scss" scoped>
.main {
    width: 100%;
    min-height: 100vh;
    background: linear-gradient( to bottom, #E6EFFF 0%, #FFFFFF 100%);

    .success-img {
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
        margin-top: 232rpx;
    }

    .success-txt {
        font-size: 36rpx;
        font-weight: bold;
        color: #333333;
        margin: 20rpx 0 0 0;
    }

    .nxz-num {
        font-size: 24rpx;
        color: #0785CF;
    }

    .btn-con {
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        margin-top: 76rpx;

        .btn-item {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 260rpx;
            height: 80rpx;
            border-radius: 100rpx 100rpx 100rpx 100rpx;
            font-size: 32rpx;
            color: #FFFFFF;
            margin: 0 20rpx;

            &.comeback-btn {
                background: #DF9824;
                box-shadow: 0rpx 6rpx 12rpx 0rpx rgba(223,152,36,0.3);
            }

            &.look-order-btn {
                background: #0785CF;
                box-shadow: 0rpx 6rpx 12rpx 0rpx rgba(7,133,207,0.3);
            }
        }
    }
}
</style>